package com.ruoyi.housing.controller;

import com.ruoyi.housing.service.CentHoustService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @author 小智
 * @PachageName:com.ruoyi.housing.controller
 * @ClassName :CentHoustConroller坎坎坷坷
 * @Description:
 * @date 2021/07/26 10:38
 */
@RestController
@RequestMapping("cent")
public class CentHoustConroller {

    @Autowired
    CentHoustService centHoustService;

    @RequestMapping("JiZhongList")
    public List<Map<String,Object>> maps(){
        return centHoustService.JiZhongList();
    }


    @RequestMapping("SelectHx")
    public List<Map<String,Object>> mapList(){
         return centHoustService.mapList();
    }

    /**
     * @Author 小智
     * @Description //TODO 独立配置
     * @Date 21:33 2021/07/26
     * @Param * @param
     * @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
     **/
    @RequestMapping("selectList")
    public List<Map<String,Object>> selectList(){
        return centHoustService.selectList();
    }

/**/
    @RequestMapping("selectCX")
    public List<Map<String,Object>>  SelectCX(){
        return centHoustService.SelectCX();
    }
}
